package com.quanyan.messagepush.entity;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by zhuo.shi on 2016/7/15.
 */
public class Jump {

    private Integer idType;     //标识App要跳转到哪个页面，如: 俱乐部详情页
    @Deprecated
    private String id;         //用户uid/俱乐部id/活动id等	根据idType，确定id表示何种类型的id
    private Map<String, Object> param = new HashMap<String, Object>(); //参数key-value

    public void putToMap(String key, Object value) {
        param.put(key, value);
    }

    public Map<String, Object> getParam() {
        return param;
    }

    public void setParam(Map<String, Object> param) {
        this.param = param;
    }

    public Integer getIdType() {
        return idType;
    }

    public void setIdType(Integer idType) {
        this.idType = idType;
    }

    @Deprecated
    public String getId() {
        return id;
    }

    @Deprecated
    public void setId(String id) {
        this.id = id;
    }
}
